[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SHRD         Double Precision Shift Right (386)      Flags: O D I T S Z A P C
                                                            ?       * * ? * *
SHRD operand1, operand2, count

           Logic:        operand1|operand2 . SHR(operand1|operand2,count)

     SHRD is a double precision shift right instruction.

     This instruction takes three operands. Taken together, the first two
     operands (operand1 and operand2) form a 32-bit or 64-bit entity,
     OP. The third operand, 8 bits long, is the count. The SHRD
     instruction shifts OP right by count places.

  --------------------------------------------------------------------------
   Operands                   Clocks   Transfers  Bytes  Example
   SHRD reg,reg,immediate8    3 (386)      -        5    SHRD BX,CX,5
   SHRD memory,reg,immediate8 7 (386)      -        6    SHRD MEM_LOC,DX,6
   SHRD reg,reg,CL            3 (386)      -        4    SHRD BX,DX,CL
   SHRD memory,CL             7 (386)      -        5    SHRD MEM_LOC,DX,CL
  --------------------------------------------------------------------------

        Note:          count may be stored in CL.

See Also: SHLD
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson